//-----------------------------------------------------------》
let baseUrl = 'https://ssjh.jifenma.com'
let baseImgUrl = 'https://ssjh.jifenma.com'
let type = true
let operatingEnvironment = "online"
// dev 测试环境  online 正式环境
if (operatingEnvironment === 'dev') {
	console.log('开发环境')
	type = false
	baseUrl = 'http://test1.jifenma.com'
	baseImgUrl = 'http://test1.jifenma.com';
} else if (operatingEnvironment === 'online') {
	type = false
	console.log('生产环境')
	// baseUrl = 'https://www.linktech.vip' 
	baseImgUrl = 'https://ssjh.jifenma.com'
	// baseImgUrl = 'https://wine.linktech.vip'
	baseUrl = 'https://ssjh.jifenma.com'
}

if (process.env.NODE_ENV === 'development') {
	//127.0.0.1:62001
	// #ifdef APP-PLUS
	if (operatingEnvironment === 'dev') {
		baseUrl = 'http://192.168.43.127'
		baseImgUrl = 'http://192.168.43.127'
	} else if (operatingEnvironment === 'online') {
		baseUrl = 'https://ssjh.jifenma.com'
		baseImgUrl = 'https://ssjh.jifenma.com'
	}
	// #endif 
	// #ifdef H5
	baseUrl = "http://192.168.43.127";
	// #endif 
}
export {
	baseUrl,
	type,
	baseImgUrl
}